class PropertyPatternPropertyValue < ActiveRecord::Base
    belongs_to :metric
    belongs_to :property_pattern_property_attribute, :touch => true

    delegate :value, :presentation, :to => :metric, :prefix => true

  alias new_metric metric
  def metric
    new_metric || build_metric
  end
end
